package xian.woniuxy.hisbe.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import xian.woniuxy.hisbe.entity.Medicinecategory;
import xian.woniuxy.hisbe.entity.MedicinecategoryExample;

public interface MedicinecategoryMapper {
    long countByExample(MedicinecategoryExample example);

    int deleteByExample(MedicinecategoryExample example);

    int deleteByPrimaryKey(Integer medcatoryId);

    int insert(Medicinecategory record);

    int insertSelective(Medicinecategory record);

    List<Medicinecategory> selectByExample(MedicinecategoryExample example);

    Medicinecategory selectByPrimaryKey(Integer medcatoryId);

    int updateByExampleSelective(@Param("record") Medicinecategory record, @Param("example") MedicinecategoryExample example);

    int updateByExample(@Param("record") Medicinecategory record, @Param("example") MedicinecategoryExample example);

    int updateByPrimaryKeySelective(Medicinecategory record);

    int updateByPrimaryKey(Medicinecategory record);
}